﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="error.aspx.cs" Inherits="SampleSite.Views.Shared.Rescues.Error" MasterPageFile="../Site.Master" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="Errors">
<ul>
<li>
    <%= ViewData.InnerException.Message %> <br />
</li>
</ul>    
</asp:Content>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">
<ul>
<li>
    <h1>Oops</h1>
    <%= ViewData.InnerException.Message %> <br />
    <hr />
    <%= ViewData.InnerException.GetType() %> <br />
    <pre>
    <%= ViewData.InnerException.StackTrace%>
    </pre><br />
    <pre>
    <%= ViewData.InnerException.Source%>
    </pre>
</li>
</ul>    
</asp:Content>
